home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14000 < prev    next >
Encoding:
Text File  |  1996-08-05  |  914 b   |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: gail.ripco.com!mambuhl
  3. From: mambuhl@ripco.com (Martin Ambuhl)
  4. Subject: Re: File problem with Wat
  5. Message-ID: <Dpotx3.6Ku@rci.ripco.com>
  6. X-Nntp-Sender: mambuhl@cook.ripco.com
  7. Sender: usenet@rci.ripco.com (Net News Admin)
  8. Organization: Ripco Internet BBS Chicago
  9. Date: Thu, 11 Apr 1996 07:53:27 GMT
  10.  
  11. Ralph Reichart <reichart@informatik.tu-muenchen.de>
  12. in <4k9fds$4fs@sparcserver.lrz-muenchen.de> asks:
  13.  
  14. >i have a big problem. i'm trying to open a file with fopen. the program
  15. >looks like this:
  16.  
  17. [...]
  18. > Datei = fopen("\autoexec.bat", "r");
  19.         change to
  20. > Datei = fopen("\\autoexec.bat", "r"); /* or */
  21. > Datei = fopen("/autoexec.bat", "r");
  22.  
  23. [...]
  24.         This is unrelated to the identity of the compiler.
  25.                                                                                                     
  26. --
  27. * Martin Ambuhl       net: mambuhl@ripco.com
  28. * Chicago, IL (USA)    
  29.